package locales

import "cashew.com/cashew_common/constants"

var en = map[constants.ErrNo]string{
	constants.SUCCESS:                           "Success",
	constants.ERR_SYS:                           "System error",
	constants.ERR_PARAM:                         "Parameter error",
	constants.ERR_REQUEST_SIGN:                  "Request signature error",
	constants.ERR_REQUEST_SOURCE_TYPE:           "Request source error",
	constants.ERR_USER_NOT_AUTH:                 "Login verification failed",
	constants.ERR_USER_NOT_EXIST:                "Anchor user does not exist",
	constants.ERR_USER_LOW_BALANCE:              "Insufficient gold coin balance",
	constants.ERR_ANCHOR_STATUS_UPDATE:          "Failed to modify anchor order status",
	constants.ERR_GET_CALL_PRICE:                "Failed to get anchor unit price",
	constants.ERR_GET_CALL_PRICE_CONFIG:         "Failed to get anchor unit price configuration",
	constants.ERR_ISBLACK:                       "Blacklisted users cannot answer the call",
	constants.ERR_GET_ANCHOR:                    "Failed to get anchor information",
	constants.ERR_ANCHOR_NOT_ONLINETAKINGORDERS: "The anchor is not in the order-taking state",
	constants.ERR_UPDATE_ANCHOR_STATUS:          "Failed to modify the anchor's order-taking state",
	constants.ERR_UPDATE_USER_STATUS:            "Failed to modify the user status",
	constants.ERR_ADD_VIDEO_CALL_LOG:            "Failed to add chat records",
	constants.ERR_IM_SENDM_FAIL:                 "Failed to send IM messages",
	constants.ERR_GET_VIDEO_CALL_LOG:            "Failed to query chat records",
	constants.ERR_UPDATE_LIVING_ORDER_STATUS:    "Failed to modify the anchor's live broadcast mode",
	constants.ERR_UPDATE_VIDEO_CALL_LOG:         "Failed to modify chat history",
	constants.ERR_GET_RANDOM_ANCHOR:             "Failed to get online and idle anchor",
	constants.ERR_PAY_TO_UNLOCK_CHAT:            "Need to pay coins to unlock the chat with the anchor",
	constants.ERR_PAY_FAILD:                     "Payment failed",
	constants.ERR_CHAT_ALREADY_UNLOCK:           "Chat unlocked",
	constants.ERR_CHAT_UNLOCK_FAILD:             "Failed to unlock chat",
	constants.ERR_ANCHOR_NOT_FOUND:              "Anchor does not exist",
	constants.ERR_USER_NOT_FOUND:                "User does not exist",
	constants.ERR_SET_BLACK_STATUS:              "Failed to update blacklist information",
	constants.ERR_GET_BLACK_LIST:                "Failed to query the blacklist",
	constants.ERR_EVALUATE_NOT_FOUND:            "Evaluation record does not exist",
	constants.ERR_ORDER_NOEND_TO_EVALUATE:       "Order is not ended, cannot be evaluated",
	constants.ERR_ORDER_EVALUATED_ALREADY:       "Order has been evaluated, cannot be evaluated again",
	constants.ERR_ORDER_EVALUATED_FAILD:         "Order evaluation failed",
	constants.ERR_WS_ADD_USER_FAIL:              "Initialization of user information failed",
	constants.ERR_WS_UPDATE_USER_FAIL:           "Update user information failed",
	constants.ERR_WS_UPDATE_ANTHOR_FAIL:         "Update anchor information failed",
	constants.ERR_GET_MAILPAGE_FAILD:            "Failed to get male homepage data",
	constants.ERR_GET_FEMAILPAGE_FAILD:          "Failed to get female homepage data",
	constants.ERR_FILE_UPLOAD_FAIL:              "File upload failed",
	constants.ERR_FILE_TOO_LARGE:                "File too large",
	constants.ERR_FILE_TYPE:                     "File type error",
	constants.ERR_USER_DATA_EXCPTION:            "User data exception",
	constants.ERR_MATERIAL_AUDITING:             "Data under review, no repeated submission",
	constants.ERR_MATERIAL_UPDATE:               "Data submission failed",
	constants.ERR_ANCHOR_IS_BUSY:                "Anchor is busy",
	constants.ERR_PRICE_ID_NOT_EXIST:            "Price ID does not exist",
	constants.ERR_PRICE_UPDATE:                  "Price update failed",
	constants.ERR_IP_SOURCE:                     "ip source",
	constants.ERR_STOP_CALL_LOGIC:               "Hang up operation failed",
	constants.ERR_GET_USER_BUSY_LOG:             "Query user busy record failed",
	constants.ERR_INTERRUPT_CALL_LOGIC:          "System interruption chat operation failed",
	constants.ERR_WS_GET_OFFLINE_MSG_FAIL:       "Failed to get user offline message",
	constants.ERR_GET_USER_BALANCE_FAILD:        "Failed to get user gold coin balance",
	constants.ERR_GIFT_TAKEN_OFF_SHELVE:         "The item has been removed from the shelf",
	constants.ERR_VIDEO_CALL_LOG_NOT_EXIST:      "Chat log does not exist",
	constants.ERR_VIDEO_CALL_LOG_UPDATE_FAILD:   "Update chat income failed",
	constants.ERR_KEEPALIVE_UPDATE_USER_INFO:    "Keepalive interface failed to update user information",
	constants.ERR_GET_SUB_REGION:                "Failed to get sub-region information",
	constants.ERR_CHARGING_START_FAIL:           "Billing system exception, failed to start billing",
	constants.ERR_CHARGING_START_RETURN_FAIL:    "Billing system exception, failed to start billing return",
	constants.ERR_MATERIAL_NOT_FOUND:            "Data does not exist",
	constants.ERR_SERVER_STATUS_401:             "Unauthorized",
	constants.ERR_SERVER_STATUS_403:             "Permission denied",
	constants.ERR_SERVER_STATUS_404:             "Service not found",
	constants.ERR_SERVER_STATUS_500:             "Service error",
	constants.ERR_SERVER_STATUS_503:             "Service Unavailable",
	constants.ERR_CREATE_ORDER:                  "Failed to create order",
	constants.ERR_INIT_USER_PROFILE_FAIL:        "Failed to initialize user information",
	constants.ERR_GET_USER_IDENTITY_FAIL:        "Failed to obtain user identity information",
	constants.ERR_NO_CHAT_PERMISSION:            "User does not have chat permission",
	constants.ERR_NO_CALL_PERMISSION:            "User does not have chat permission",
	constants.ERR_DB_BEGIN_TRANSACTION:          "Database transaction start failed",
	constants.ERR_DB_ROLLBACK_TRANSACTION:       "Database transaction rollback failed",
	constants.ERR_DB_COMMIT_TRANSACTION:         "Database transaction commit failed",
	constants.ERR_DB_TRANSACTION_FAILED:         "Database transaction failed",
	constants.ERR_WS_UPDATE_USER_CACHE_FAIL:     "Failed to update user cache",
	constants.ERR_CHAT_BLACK_LIST:               "Blacklisted users cannot chat",
	constants.ERR_UPDATE_USER_FREE_CHAT_COUNT:   "Failed to update the number of free chats for the user",
	constants.ERR_CHAT_NEED_UNLOCK:              "Need to unlock the chat",
	constants.ERR_PAY_AMOUNT_NOT_MATCH:          "The payment amount does not match",
	constants.ERR_CALL_ALREADY_END:              "The call has ended and cannot be hung up repeatedly",
	constants.ERR_GET_CALL_LOCK_FAIL:            "The other party is busy, please call again later",
	constants.ERR_POOL_TASK_FULL:                "The system is busy",
	constants.ERR_IDENTITY_NOT_ANCHOR:           "The user identity is abnormal, not the anchor",
	constants.ERR_BLACK_STATUS_FROM_OTHER:       "The other party has blocked you, the operation failed",
	constants.ERR_BLACK_STATUS_FROM_ME:          "You have blocked the other party, the operation failed",
	constants.ERR_CALL_USER_BUSY:                "The other party is on the phone, please call again later",
	constants.ERR_COCO_TOKEN_VERIFY_FAILED:      "token verification failed",
	constants.ERR_COCO_SEARCH_FAIL:              "Failed to search for anchors",
	constants.ERR_USER_NOT_ALLOW:                "You do not have permission to perform this operation",
	constants.ERR_REMATCH_ANCHOR_TASK:           "No available anchor. Matching in progress. Please wait",
	//constants.ERR_REMATCH_ANCHOR_TASK:           "No available anchor. ",
	constants.ERR_USER_INTERRUPT_MATCH: "Video matching canceled",
	constants.ERR_GET_HOMEPAGE_FAILD:   "Failed to get homepage data",
	constants.ERR_SEND_MSG_VERSION_LOW: "Failed to send. The recipient's version is too low",
}
